package cn.edu.hnit.javaee.experiments.experiment01.model;

import java.util.Date;

public class StudentPOJO {
	
	private String studentNumber;  
    private String name;  
    private String gender;  
    private String idCardNumber;  
    private String birthPlace;  
    private String address;  
    private String city;  
    private String province;  
    private Date enrollmentDate;  
    private Date graduationDate; 
    private Boolean isActive;
    
	public StudentPOJO() {
		super();
		// TODO Auto-generated constructor stub
	}
	public StudentPOJO(String studentNumber, String name, String gender, String idCardNumber, String birthPlace,
			String address, String city, String province, Date enrollmentDate, Date graduationDate, Boolean isActive) {
		super();
		this.studentNumber = studentNumber;
		this.name = name;
		this.gender = gender;
		this.idCardNumber = idCardNumber;
		this.birthPlace = birthPlace;
		this.address = address;
		this.city = city;
		this.province = province;
		this.enrollmentDate = enrollmentDate;
		this.graduationDate = graduationDate;
		this.isActive = isActive;
	}
	public String getStudentNumber() {
		return studentNumber;
	}
	public void setStudentNumber(String studentNumber) {
		this.studentNumber = studentNumber;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public String getIdCardNumber() {
		return idCardNumber;
	}
	public void setIdCardNumber(String idCardNumber) {
		this.idCardNumber = idCardNumber;
	}
	public String getBirthPlace() {
		return birthPlace;
	}
	public void setBirthPlace(String birthPlace) {
		this.birthPlace = birthPlace;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public Date getEnrollmentDate() {
		return enrollmentDate;
	}
	public void setEnrollmentDate(Date enrollmentDate) {
		this.enrollmentDate = enrollmentDate;
	}
	public Date getGraduationDate() {
		return graduationDate;
	}
	public void setGraduationDate(Date graduationDate) {
		this.graduationDate = graduationDate;
	}
	public Boolean getIsActive() {
		return isActive;
	}
	public void setIsActive(Boolean isActive) {
		this.isActive = isActive;
	}
	@Override
	public String toString() {
		return "StudentPOJO [studentNumber=" + studentNumber + ", name=" + name + ", gender=" + gender
				+ ", idCardNumber=" + idCardNumber + ", birthPlace=" + birthPlace + ", address=" + address + ", city="
				+ city + ", province=" + province + ", enrollmentDate=" + enrollmentDate + ", graduationDate="
				+ graduationDate + ", isActive=" + isActive + "]";
	}
	
    
}
